package day12;

import java.util.Date;

/**
 * @author oldliu
 * @since 1.0
 */
public class MainThread {
    public static void main(String[] args) {
        for(;;){
            System.out.println("你好，现在时间是"+new Date());
            try {
                Thread.sleep(3000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
